/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package segundaronda;

/**
 *
 * @author juanra
 */
public class Triangulo {
    
    private int l1, l2, l3;
    
    
    public Triangulo(){
    
    }

    public int getL1() {
        return l1;
    }

    public void setL1(int l1) {
        this.l1 = l1;
    }

    public int getL2() {
        return l2;
    }

    public void setL2(int l2) {
        this.l2 = l2;
    }

    public int getL3() {
        return l3;
    }

    public void setL3(int l3) {
        this.l3 = l3;
    }
    
    public void ladoMayor(int a, int b, int c){
        if (a>b && a>c) {
            System.out.println("el mayor es el lado 1");
        } else {
            if (b>c && b>a) {
                System.out.println("el lado mayor es 2");
            } else {
                System.out.println("el aldo mayor es 3");
            }
        }
    }

    @Override
    public String toString() {
        return "Triangulo{" + "l1=" + l1 + ", l2=" + l2 + ", l3=" + l3 + '}';
    }
    
    
    
    public boolean equilatero(int a, int b, int c){
        if (a==b && b==c) {
            return true;
        }else{
            return false;
        }
    }
    
}
